package kaka.utils
{
	import mx.collections.ArrayCollection;

	public class ArrayCollectionUtils
	{
		public function ArrayCollectionUtils()
		{
		}
		/**判断对象是否为ArrayCollection不是则转为ArrayCollection**/
		public static function excute(obj:*):ArrayCollection
		{
			var arr:ArrayCollection=new ArrayCollection();
			if(obj as ArrayCollection)
			{
				arr=obj;
			}
			else
			{
				arr.addItem(obj);
			}
			return arr;
		}
	}
}